package name.sakanacatcher.repository;

import name.sakanacatcher.entity.Advertisement;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface AdRepository extends JpaRepository<Advertisement, Integer> {
    Advertisement getByName(String name);
}
